﻿using NewsPortal.DataAccess.Abstraction;
using System;
using System.Collections.Generic;

namespace NewsPortal.Domain.PostEntities
{
    public class Post: IEntity
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Body { get; set; }
        public DateTime Date { get; set; }
        public bool Published { get; set; }
        public ICollection<PostCategory> Categories { get; set; }
        public ICollection<Tag> Tags { get; set; }
        public ICollection<Comment> Comments { get; set; }
    }
}